<template>
  <div>
    <div>
      <h4>肌力评定</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="7">
          <div>
            <span>上肢： </span>
            <el-select v-model="pgForm.jlpd_sz" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>头颈及躯干： </span>
            <el-select v-model="pgForm.jlpd_tjjqg" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>下肢： </span>
            <el-select v-model="pgForm.jlpd_xz" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "strength_assess",
  title: "肌力评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm:{
        jlpd_sz:'',
        jlpd_tjjqg:'',
        jlpd_xz:''
      },
      options:[{
        value:'0',
        label:'0'
      },{
        value:'1',
        label:'I'
      },{
        value:'2',
        label:'II'
      },{
        value:'3',
        label:'III'
      },{
        value:'4',
        label:'IV'
      }]
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
</style>
